/**  
 * Project Name:api-webhook  
 * File Name:LoanRepayRecord.java  
 * Package Name:com.example.service.webhook.business.fund.dto  
 * Date:2016年8月20日下午4:57:36  
 * Copyright (c) 2016, yuandong@51dojo.com All Rights Reserved.  
 *  
*/  
  
package com.example.service.webhook.business.fund.entity;

import java.util.Date;

import com.example.service.webhook.repository.base.Saveable;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**  
 * ClassName:LoanRepayRecord <br/>  
 * Function: TODO ADD FUNCTION. <br/>  
 * Reason:   TODO ADD REASON. <br/>  
 * Date:     2016年8月20日 下午4:57:36 <br/>  
 * @author   yuandong  
 * @version    
 * @since    JDK 1.6  
 * @see        
 */
@JsonIgnoreProperties(ignoreUnknown=true)
public class LoanRepayRecordEntity implements Saveable {
	
	private long id;
	private String userId;
	private String areaCode;
	private String customerNumber;
	 // 还款日期
    private String repayDate;
    // 记账日期
    private String accountingDate;
    // 还款
    private Integer repayAmount;
    // 还款本金
    private Integer repayCapital;
    // 还款利息
    private Integer repayInterest;
    // 还款罚息
    private Integer repayPenalty;

    private Date createTime;
    private Date lastModifyTime;
    
    
    private static final String[] keyColumns       = { "id" };
    private static final String   tableName        = "t_fund_loaninforepay";

    @Override
    public String getTableName() {
        return tableName;
    }

    @Override
    public String[] getKeyColumns() {
        return keyColumns;
    }
    
    @Override
    public String getPrimaryVal() {
        return String.valueOf(id);
    }

    

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getRepayDate() {
		return repayDate;
	}

	public void setRepayDate(String repayDate) {
		this.repayDate = repayDate;
	}

	public String getAccountingDate() {
		return accountingDate;
	}

	public void setAccountingDate(String accountingDate) {
		this.accountingDate = accountingDate;
	}

	public Integer getRepayAmount() {
		return repayAmount;
	}

	public void setRepayAmount(Integer repayAmount) {
		this.repayAmount = repayAmount;
	}

	public Integer getRepayCapital() {
		return repayCapital;
	}

	public void setRepayCapital(Integer repayCapital) {
		this.repayCapital = repayCapital;
	}

	public Integer getRepayInterest() {
		return repayInterest;
	}

	public void setRepayInterest(Integer repayInterest) {
		this.repayInterest = repayInterest;
	}

	public Integer getRepayPenalty() {
		return repayPenalty;
	}

	public void setRepayPenalty(Integer repayPenalty) {
		this.repayPenalty = repayPenalty;
	}


	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getCustomerNumber() {
		return customerNumber;
	}

	public void setCustomerNumber(String customerNumber) {
		this.customerNumber = customerNumber;
	}



}
  
